<html xmlns:th="http://www.thymeleaf.org" lang="zh">

<!-- 对话框 -->
<!-- 模态框（Modal） -->
<!-- 下载确认 -->
<div class="modal fade" id="file_download" tabindex="-1" role="dialog" aria-hidden="true"
     th:fragment="file_download (bucketName,objectName)"
>
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-body">
                确认下载该文件?
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">
                    取消
                </button>
                <button type="button" class="btn btn-primary"
                th:onclick= "'javascript:downloadFile('+${bucketName}+','+${objectName}+')'">
                    确认
                </button>
            </div>
        </div>
    </div>
</div>
<!-- 下载结束 -->
<!-- 下载结束 -->

<!-- 删除确认 -->

<div class="modal fade" id="file_remove" tabindex="-1" role="dialog" aria-hidden="true"
     th:fragment="file_remove (bucketName,objectName)"
>
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-body">
                确认删除该文件?
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">
                    取消
                </button>
                <button type="button" class="btn btn-primary" onclick="deleteFile()">
                    确认
                </button>
            </div>
        </div>
    </div>
</div>